package com.wang.springcloud.dao;

import com.wang.springcloud.pojo.Dept;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author: wyh
 * @Date: 2020/9/14 16:47
 */
@Mapper
@Repository
public interface DeptDao {
    public boolean addDept(Dept dept);

    public  Dept queryByid(Long id);

    public List<Dept> queryAll();

}
